﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BestBuy.DAL
{
    public class cDonVi
    {
        TradeKeyDataContext context = new TradeKeyDataContext();
        public List<DonVi> GetAll()
        {
            return context.DonVis.ToList();
        }
        public static List<DonVi> getDonVi()
        {
            TradeKeyDataContext ct = new TradeKeyDataContext();
            return ct.DonVis.ToList();
        }
    }
}